package community.hospital.service.application;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import community.hospital.common.BasePage;
import community.hospital.entity.Hospital;
import community.hospital.entity.request.HospitalRequest;
import community.hospital.entity.request.ListHospitalRequest;
import community.hospital.entity.response.HospitalOptionResp;
import community.hospital.entity.response.HospitalResponse;

import java.util.List;

/**
 * @Author：ydj
 * @Date：2023/1/27 14:58
 */
public interface HospitalApplicationService {

    Page<Hospital> listHospital(ListHospitalRequest request);

    Boolean addHospital(HospitalRequest request);

    Boolean updateHospital(HospitalRequest request);

    Boolean removeHospital(List<Long> ids);

    HospitalResponse queryById(Long hospitalId);

    Boolean isHospitalExist(Hospital hospital);

    List<HospitalResponse> listOptionHospital();

    HospitalResponse getHospital(Long id);

}
